﻿@model IEnumerable<MvcApplication6.Models.EventModel>
@using MvcApplication6.Models
@using MvcApplication6.common
<div class="gallery">
	<section id="knw_continer" class="knw_continer">
		<div class="dg-wrapper">
            
             @foreach (var sale in Model)
             {
                @*@Ajax.ImageActionLink(
                    "http://aptechpro.vn/Upload/Images/" + @sale.Image,
                    "",
                    "NewDetail",
                    new
                    {
                        Id = @sale.Id
                    },
                    new AjaxOptions
                    {
                        HttpMethod = "GET",
                        InsertionMode = InsertionMode.Replace,
                        UpdateTargetId = "listProduct"
                    }
                    )*@
                 <a href="/Home/NewDetail/@sale.Title.Replace(" ", "")/@sale.Id">
                                <img  src="http://aptechpro.vn/Upload/Images/@sale.Image"/>
                            </a>
            
            }



			@*<a href="#"><img src="../../Content/images/resources/img02.jpg" alt="image06"></a>
			<a href="#"><img src="../../Content/images/resources/img03.jpg" alt="image07"></a>
			<a href="#"><img src="../../Content/images/resources/img04.jpg" alt="image07"></a>
			<a href="#"><img src="../../Content/images/resources/img05.jpg" alt="image07"></a>*@
		</div>
		<nav>
			<span class="dg-prev">&lt;</span>
			<span class="dg-next">&gt;</span>
		</nav>
	</section>
</div>